package com.example.demo.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author ChenYongHao
 * @date 2023/3/2 14:32
 * @desc
 */
@Component
//@ConfigurationProperties(prefix = "datasource")
@Data
public class DataSource {
    private String driverClassName;
    private String url;
    private String root;
    private String password;
}
